package cn.yuanqiao.archive.Identify.service;

import cn.yuanqiao.archive.Identify.domain.YqMjApprove;

import java.util.List;

/**
 * 流程图  保管期限鉴定
 *
 * @ProjectName: JZSDAS
 * @Package: cn.yuanqiao.archive.bianyan.service
 * @ClassName: BgqxLcIdentifyService
 * @Author: lenovo
 * @Description: hbWang
 * @Date: 2023/12/6 10:12
 * @Version: 1.0
 */
public interface BgqxLcIdentifyService {

    /**
     * 添加到保管期限审批
     *
     * @param yqMjApprove
     * @return
     */
    int insBgqxType(List<YqMjApprove> yqMjApprove);

    /**
     * 审批通过后更新密级
     *
     * @param id
     * @return
     */
    int updateBgqxType(String id);

    /**
     * 审批不通过
     *
     * @param id
     * @return
     */
    int disagreeBgqxType(String id);


    /**
     * 取消审批
     *
     * @param id
     * @return
     */
    int cancelApproval(String id);

    /**
     * 查询审批详情
     * @param id
     * @return
     */
    YqMjApprove initiateApproval(String id);

    /**
     * 查询保管期限审批列表
     *
     * @param yqMjApprove
     * @return
     */
    List<YqMjApprove> YqBgqxApproveList(YqMjApprove yqMjApprove);


    YqMjApprove getYqBgqxApproveByInstanceId(String instanceId);
}
